Repository navigation
deps(media): rusty_pdf_core 0.2.1, rusty_jpeg 0.5.2 - #85
Merged
Merged
Conversation
rusty_pdf_core 0.2.1 calls rusty_zlib directly (flate2 gone from the PDF path; one rusty_zlib via the v0.1.4 patch) and moves to rusty_jpeg 0.5.2, rusty_jpx 0.1.2, rusty_tiff 0.1.13. No API change. ffai-media's own rusty_jpeg 0.4 -> 0.5.2 so the graph holds one JPEG decoder. 0.5 makes SIMD bit-exact with scalar: output moves +-1-3 on ~2% of samples. The libjpeg twin check over the diana-coco corpus stays at 3/255 worst (limit 8). decode_image now refuses a JPEG with concealed (grey-filled) pixels instead of passing it as whole. vet: exemptions moved to the new versions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The consolidated in-house codec bump before release #79.
rusty_pdf_core 0.2.0 → 0.2.1 (no API change):
cargo tree -i rusty_zlibshows one rusty_zlib 0.1.4 (the root patch from deps: rusty_zlib patch to v0.1.4 #83), with rusty_pdf_core directly under it.decode_imagenow refuses a JPEG whose pixels were concealed (data cut short, grey fill) instead of returning it as whole. pdf.rs already turns a refused image into a note on the page.ffai-media's own rusty_jpeg 0.4 → 0.5.2, so the graph holds a single JPEG decoder (
cargo tree -dshows no duplicate rusty_* crates). 0.5 makes the SIMD path bit-exact with scalar, so output moves ±1–3 on about 2% of samples. The libjpeg twin check over the diana-coco corpus stays at a worst channel delta of 3/255 (limit 8).Local checks:
cargo test -p ffai-media --all-featurespasses, with the corpus present.ffai-carmenta-wasmbuilds for wasm32.cargo vetpasses with the exemptions moved to the new versions, andcargo deny checkpasses.🤖 Generated with Claude Code